package com.wish.thriftserver.thrift;

import com.wish.thriftclient.thrift.OrderThriftService;
import com.wish.thriftclient.to.OrderTO;

/**
 * OrderThriftServiceImpl
 * @author tantexian
 * @since 2017/9/27
 */
public class OrderThriftServiceImpl implements OrderThriftService {
    @Override
    public OrderTO getOrderDetail(Long id) {
        OrderTO orderTO = new OrderTO();
        orderTO.setId(id);
        orderTO.setName("name : " + id);
        orderTO.setComment("comment is add by orderTO!!!");
        return orderTO;
    }
}
